package sss;

/**
 * @program: JavaSEDemo
 * @description: tets
 * @author: DingZhenYun
 * @create: 2021-06-27 23:07
 **/

public class Test {
    public static void main(String[] args) {
        String[] str = new String[5];
        for (String myStr : str) {
            myStr = "1";
            System.out.println(myStr);
        }
        for (int i=0;i<str.length;i++){
            System.out.println(str[i]);
        }
    }

}
